package com.maimang.platform.dsp.entity;

import com.maimang.platform.annotation.Excel;
import com.maimang.platform.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * @author Rocky
 * @version 1.0.0
 * @classname Fund
 * @description <br>账户余额表对应实体类</br>
 * @date 2019-10-31 17:24:20
 * @email jintaozhao@qq.com
 */
public class Fund extends BaseEntity {
	private static final long serialVersionUID = 1L;


	/**
	 * 广告主ID
	 */
	@Excel(name = "广告主ID")
	private Long advertiserId;

	/**
	 * 账户名
	 */
	@Excel(name = "账户名")
	private String name;

	/**
	 * 联系邮箱
	 */
	@Excel(name = "联系邮箱")
	private String email;

	/**
	 * 账户总余额(单位元)
	 */
	@Excel(name = "账户总余额(单位元)")
	private BigDecimal balance;

	/**
	 * 账户可用总余额(单位元)
	 */
	@Excel(name = "账户可用总余额(单位元)")
	private BigDecimal validBalance;

	/**
	 * 现金余额
	 */
	@Excel(name = "现金余额")
	private BigDecimal cash;

	/**
	 * 现金可用余额
	 */
	@Excel(name = "现金可用余额")
	private BigDecimal validCash;

	/**
	 * 赠款余额
	 */
	@Excel(name = "赠款余额")
	private BigDecimal grant;

	/**
	 * 赠款可用余额
	 */
	@Excel(name = "赠款可用余额")
	private BigDecimal validGrant;

	/**
	 * 返货余额
	 */
	@Excel(name = "返货余额")
	private BigDecimal returnGoodsAbs;

	/**
	 * 返货可用余额
	 */
	@Excel(name = "返货可用余额")
	private BigDecimal validReturnGoodsAbs;

	/**
	 * 返货支出
	 */
	@Excel(name = "返货支出")
	private BigDecimal returnGoodsCost;

	public Long getAdvertiserId() {
		return advertiserId;
	}

	public void setAdvertiserId(Long advertiserId) {
		this.advertiserId = advertiserId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public BigDecimal getValidBalance() {
		return validBalance;
	}

	public void setValidBalance(BigDecimal validBalance) {
		this.validBalance = validBalance;
	}

	public BigDecimal getCash() {
		return cash;
	}

	public void setCash(BigDecimal cash) {
		this.cash = cash;
	}

	public BigDecimal getValidCash() {
		return validCash;
	}

	public void setValidCash(BigDecimal validCash) {
		this.validCash = validCash;
	}

	public BigDecimal getGrant() {
		return grant;
	}

	public void setGrant(BigDecimal grant) {
		this.grant = grant;
	}

	public BigDecimal getValidGrant() {
		return validGrant;
	}

	public void setValidGrant(BigDecimal validGrant) {
		this.validGrant = validGrant;
	}

	public BigDecimal getReturnGoodsAbs() {
		return returnGoodsAbs;
	}

	public void setReturnGoodsAbs(BigDecimal returnGoodsAbs) {
		this.returnGoodsAbs = returnGoodsAbs;
	}

	public BigDecimal getValidReturnGoodsAbs() {
		return validReturnGoodsAbs;
	}

	public void setValidReturnGoodsAbs(BigDecimal validReturnGoodsAbs) {
		this.validReturnGoodsAbs = validReturnGoodsAbs;
	}

	public BigDecimal getReturnGoodsCost() {
		return returnGoodsCost;
	}

	public void setReturnGoodsCost(BigDecimal returnGoodsCost) {
		this.returnGoodsCost = returnGoodsCost;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("advertiserId", getAdvertiserId())
				.append("name", getName())
				.append("email", getEmail())
				.append("balance", getBalance())
				.append("validBalance", getValidBalance())
				.append("cash", getCash())
				.append("validCash", getValidCash())
				.append("grant", getGrant())
				.append("validGrant", getValidGrant())
				.append("returnGoodsAbs", getReturnGoodsAbs())
				.append("validReturnGoodsAbs", getValidReturnGoodsAbs())
				.append("returnGoodsCost", getReturnGoodsCost())
				.append("createTime", getCreateTime())
				.append("createUser", getCreateUser())
				.append("updateTime", getUpdateTime())
				.append("updateUser", getUpdateUser())
				.toString();
	}
}
